package com.lidong.day01;

public class ArrayDemo04 {
    public static void main(String[] args) {
        // 定义静态数组ArrayDemo03
        int[] array = new int[]{1,2,3,4,5};

        // 数组遍历  array.length输出数组长度
        for (int i = 0; i < array.length;i++){
            System.out.println(array[i]);
        }
    }
}
